.text-container {
  position: fixed;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 80vh;
  overflow-y: auto;

  .text-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
  }

  .text-content {
    padding: 16px;

    .text-item {
      display: flex;
      align-items: center;
      padding: 12px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid transparent;

      &:hover {
        background: #f5f5f5;
        border-color: #d9d9d9;
      }

      &.active {
        background: #e6f7ff;
        border-color: #1890ff;
        color: #1890ff;
      }

      .text-icon {
        margin-right: 8px;
        font-size: 18px;
        width: 24px;
        text-align: center;
      }

      span {
        font-size: 14px;
      }
    }
  }

  .text-settings {
    padding: 16px;
    border-top: 1px solid #f0f0f0;

    .setting-item {
      margin-bottom: 16px;

      &:last-child {
        margin-bottom: 0;
      }

      .setting-label {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-size: 14px;
        color: #666;

        .anticon {
          margin-right: 6px;
        }
      }

      .font-size-value {
        display: block;
        text-align: center;
        margin-top: 4px;
        font-size: 12px;
        color: #999;
      }
    }
  }
} 